import request from '@/utils/request'

// 查询泪目entry列表
export function listCollectProductCategoryKeyValue(query) {
  return request({
    url: '/gather/gather/collectProductCategoryKeyValue/list',
    method: 'get',
    params: query
  })
}

// 查询泪目entry详细
export function getCollectProductCategoryKeyValue(id) {
  return request({
    url: '/gather/gather/collectProductCategoryKeyValue/' + id,
    method: 'get'
  })
}

// 新增泪目entry
export function addCollectProductCategoryKeyValue(data) {
  return request({
    url: '/gather/gather/collectProductCategoryKeyValue',
    method: 'post',
    data: data
  })
}

// 修改泪目entry
export function updateCollectProductCategoryKeyValue(data) {
  return request({
    url: '/gather/gather/collectProductCategoryKeyValue',
    method: 'put',
    data: data
  })
}

// 删除泪目entry
export function delCollectProductCategoryKeyValue(id) {
  return request({
    url: '/gather/gather/collectProductCategoryKeyValue/' + id,
    method: 'delete'
  })
}
